.class public Lcom/kwad/sdk/core/h/a;
.super Lcom/kwad/sdk/core/network/d;


# instance fields
.field b:Lcom/kwad/sdk/core/h/a/e;


# direct methods
.method constructor <init>(Lcom/kwad/sdk/core/h/a/e;Ljava/util/List;Lcom/kwad/sdk/core/h/a/i;)V
    .locals 1
    .param p2    # Ljava/util/List;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/kwad/sdk/core/h/a/e;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Lcom/kwad/sdk/core/h/a/i;",
            ")V"
        }
    .end annotation

    invoke-direct {p0}, Lcom/kwad/sdk/core/network/d;-><init>()V

    iput-object p1, p0, Lcom/kwad/sdk/core/h/a;->b:Lcom/kwad/sdk/core/h/a/e;

    new-instance v0, Lorg/json/JSONArray;

    invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V

    invoke-virtual {p1}, Lcom/kwad/sdk/core/h/a/e;->toJson()Lorg/json/JSONObject;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/kwad/sdk/c/e;->a(Lorg/json/JSONArray;Lorg/json/JSONObject;)V

    const-string p1, "impInfo"

    invoke-virtual {p0, p1, v0}, Lcom/kwad/sdk/core/network/b;->a(Ljava/lang/String;Lorg/json/JSONArray;)V

    const-string p1, "universePhotoInfo"

    invoke-virtual {p0, p1, p3}, Lcom/kwad/sdk/core/network/b;->a(Ljava/lang/String;Lcom/kwad/sdk/core/b;)V

    const-class p1, Lcom/kwad/sdk/plugin/DevelopMangerPlugin;

    invoke-static {p1}, Lcom/kwad/sdk/plugin/e;->a(Ljava/lang/Class;)Lcom/kwad/sdk/plugin/c;

    move-result-object p1

    check-cast p1, Lcom/kwad/sdk/plugin/DevelopMangerPlugin;

    const-string p3, "KEY_MODIFY_CREATEID"

    invoke-interface {p1, p3}, Lcom/kwad/sdk/plugin/DevelopMangerPlugin;->a(Ljava/lang/String;)Lcom/kwad/sdk/plugin/DevelopMangerPlugin$DevelopValue;

    move-result-object p1

    if-eqz p1, :cond_0

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string p3, "creativeId_"

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/kwad/sdk/plugin/DevelopMangerPlugin$DevelopValue;->getValue()Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    if-eqz p2, :cond_1

    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result p1

    if-nez p1, :cond_1

    new-instance p1, Lorg/json/JSONArray;

    invoke-direct {p1, p2}, Lorg/json/JSONArray;-><init>(Ljava/util/Collection;)V

    const-string p2, "preloadIdList"

    invoke-virtual {p0, p2, p1}, Lcom/kwad/sdk/core/network/b;->a(Ljava/lang/String;Lorg/json/JSONArray;)V

    :cond_1
    return-void
.end method


# virtual methods
.method public e()Ljava/lang/String;
    .locals 1

    invoke-static {}, Lcom/kwad/sdk/c;->a()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
